<template>
  <div class="main-container">
    <div class="stats-grid">
    <div class="stat-card">
      <div class="stat-title">总访问量</div>
      <div class="stat-value">24,589</div>
      <div class="stat-change positive">+12.5%</div>
    </div>
    <div class="stat-card">
      <div class="stat-title">活跃用户</div>
      <div class="stat-value">1,245</div>
      <div class="stat-change positive">+3.2%</div>
    </div>
    <div class="stat-card">
      <div class="stat-title">转化率</div>
      <div class="stat-value">24.8%</div>
      <div class="stat-change negative">-1.8%</div>
    </div>
  </div>
    <div class="dashboard">
      <div class="content-area">
        <div class="content-title">
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "MainView",
  data() {
    return {}
  },
  methods: {}
}
</script>

<style scoped>
.dashboard {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.content-area {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}







.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-title {
  color: #7f8c8d;
  font-size: 14px;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.stat-change {
  font-size: 13px;
  display: flex;
  align-items: center;
}

.positive {
  color: #27ae60;
}

.negative {
  color: #e74c3c;
}
</style>